[INFO] cloning repository https://github.com/Steve-xmh/wotb
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Steve-xmh/wotb" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSteve-xmh%2Fwotb", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSteve-xmh%2Fwotb'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 409764cb496311b32aad45b290a4213de015cfdb
[INFO] documenting Steve-xmh/wotb against nightly+rustdocflags=-Zunstable-options -wjson for pr-99919
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSteve-xmh%2Fwotb" "/workspace/builds/worker-5/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Steve-xmh/wotb on toolchain nightly
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+nightly" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/Steve-xmh/wotb
[INFO] finished tweaking git repo https://github.com/Steve-xmh/wotb
[INFO] tweaked toml for git repo https://github.com/Steve-xmh/wotb written to /workspace/builds/worker-5/source/Cargo.toml
[INFO] crate git repo https://github.com/Steve-xmh/wotb already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+nightly" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b6f8f3c7365bda4bed590ff86eb7da6b00dc7b48841d7eab8274f4fe967e023b
[INFO] running `Command { std: "docker" "start" "-a" "b6f8f3c7365bda4bed590ff86eb7da6b00dc7b48841d7eab8274f4fe967e023b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b6f8f3c7365bda4bed590ff86eb7da6b00dc7b48841d7eab8274f4fe967e023b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b6f8f3c7365bda4bed590ff86eb7da6b00dc7b48841d7eab8274f4fe967e023b", kill_on_drop: false }`
[INFO] [stdout] b6f8f3c7365bda4bed590ff86eb7da6b00dc7b48841d7eab8274f4fe967e023b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow -Zunstable-options -wjson" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f04140607a0feaf9934d867004d713eb54fa79251f3fe4394fa13d487ce25ce1
[INFO] running `Command { std: "docker" "start" "-a" "f04140607a0feaf9934d867004d713eb54fa79251f3fe4394fa13d487ce25ce1", kill_on_drop: false }`
[INFO] [stderr]  Documenting wotb v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use winapi::{
[INFO] [stdout]   |     ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `winapi::shared::minwindef::*`, `winapi::shared::windef::*`, `winapi::um::winuser::*`
[INFO] [stdout]  --> src/main.rs:5:14
[INFO] [stdout]   |
[INFO] [stdout] 5 |     shared::{minwindef::*, windef::*},
[INFO] [stdout]   |              ^^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 6 |     um::winuser::*,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stdout]   --> src/main.rs:12:18
[INFO] [stdout]    |
[INFO] [stdout] 10 | struct EnumParam {
[INFO] [stdout]    |                 - help: you might be missing a type parameter: `<HWND>`
[INFO] [stdout] 11 |     pid: u32,
[INFO] [stdout] 12 |     windows: Vec<HWND>,
[INFO] [stdout]    |                  ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stdout]   --> src/main.rs:28:36
[INFO] [stdout]    |
[INFO] [stdout] 28 | extern "system" fn enum_proc(hwnd: HWND, lparam: LPARAM) -> BOOL {
[INFO] [stdout]    |                                    ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope
[INFO] [stdout]   --> src/main.rs:28:50
[INFO] [stdout]    |
[INFO] [stdout] 28 | extern "system" fn enum_proc(hwnd: HWND, lparam: LPARAM) -> BOOL {
[INFO] [stdout]    |                                                  ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope
[INFO] [stdout]   --> src/main.rs:28:61
[INFO] [stdout]    |
[INFO] [stdout] 28 | extern "system" fn enum_proc(hwnd: HWND, lparam: LPARAM) -> BOOL {
[INFO] [stdout]    |                                                             ^^^^ help: a builtin type with a similar name exists: `bool`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stdout]   --> src/main.rs:40:26
[INFO] [stdout]    |
[INFO] [stdout] 40 | fn get_window_long(hwnd: HWND, n_index: i32) -> i32 {
[INFO] [stdout]    |                          ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stdout]   --> src/main.rs:46:27
[INFO] [stdout]    |
[INFO] [stdout] 46 | fn get_windows_name(hwnd: HWND) -> String {
[INFO] [stdout]    |                           ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stdout]   --> src/main.rs:55:45
[INFO] [stdout]    |
[INFO] [stdout] 55 | fn list_windows_by_process(pid: u32) -> Vec<HWND> {
[INFO] [stdout]    |                           -                 ^^^^ not found in this scope
[INFO] [stdout]    |                           |
[INFO] [stdout]    |                           help: you might be missing a type parameter: `<HWND>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stdout]   --> src/main.rs:66:26
[INFO] [stdout]    |
[INFO] [stdout] 66 | fn get_window_size(hwnd: HWND) -> (u32, u32, i32, i32) {
[INFO] [stdout]    |                          ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: Compilation failed, aborting rustdoc
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 11 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not document `wotb`
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `rustdoc --edition=2021 --crate-type bin --crate-name wotb src/main.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --document-private-items '-Arustdoc::private-intra-doc-links' -C metadata=ada8f65ba8c2979c -L dependency=/opt/rustwide/target/debug/deps --extern mlua=/opt/rustwide/target/debug/deps/libmlua-1e17337b5fea1553.rmeta --extern serde=/opt/rustwide/target/debug/deps/libserde-a6a936cdf1ff2140.rmeta --extern serde_json=/opt/rustwide/target/debug/deps/libserde_json-a86f4cf027ad01c2.rmeta --cap-lints=allow -Zunstable-options -wjson --crate-version 0.1.0` (exit status: 1)
[INFO] running `Command { std: "docker" "inspect" "f04140607a0feaf9934d867004d713eb54fa79251f3fe4394fa13d487ce25ce1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f04140607a0feaf9934d867004d713eb54fa79251f3fe4394fa13d487ce25ce1", kill_on_drop: false }`
[INFO] [stdout] f04140607a0feaf9934d867004d713eb54fa79251f3fe4394fa13d487ce25ce1
